cmake_minimum_required(VERSION 3.31)
project(ipc_example)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if(MSVC)
    add_compile_options(/utf-8)
endif()

# 添加子项目
add_subdirectory(common)
add_subdirectory(server)
add_subdirectory(client)